﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <ToolTip x:Key="functionTip">
        <StackPanel Orientation="Vertical">
            <TextBlock Text="{Binding Description}" Margin="0,0,0,10"/>
            <TextBlock Text="{Binding Parameters}"/>
        </StackPanel>
    </ToolTip>
    
    <DataTemplate x:Key="structureTipTemplate">
        <StackPanel Orientation="Horizontal">
            <Image Source="../Resources/attribute.png" Width="16" Height="16" Margin="0,0,10,0"/>
            <TextBlock Text="{Binding Path=ObjectName}" 
                       ToolTip="{Binding Description}"/>
        </StackPanel>
    </DataTemplate>

    <DataTemplate x:Key="syntaxTipTemplate">
        <TextBlock Text="{Binding Path=ObjectName}" ToolTip="{Binding Description}" />
    </DataTemplate>

    <DataTemplate x:Key="functionTipTemplate">
        <StackPanel Orientation="Horizontal">
            <Image Source="../Resources/function.png" Width="16" Height="16" Margin="0,0,10,0" />
            <TextBlock Text="{Binding Path=ObjectName}" ToolTip="{StaticResource functionTip}" />
        </StackPanel>
    </DataTemplate>
    

    
</ResourceDictionary>